package com.ruoyi.account.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 记录账套各功能模块的参数设置对象 tb_function
 * 
 * @author ruoyi
 * @date 2025-02-25
 */
public class Function extends BaseEntity
{
    //111
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 关联基本信息表的账套ID */
    @Excel(name = "关联基本信息表的账套ID")
    private String accountSetId;

    /** 资产模块启用状态 */
    @Excel(name = "资产模块启用状态")
    private String assetModuleStatus;

    /** 资产模块启用日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "资产模块启用日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date assetModuleStartDate;

    /** 资金模块启用状态 */
    @Excel(name = "资金模块启用状态")
    private String fundModuleStatus;

    /** 前往进销存显示状态 */
    @Excel(name = "前往进销存显示状态")
    private String inventoryLinkStatus;

    /** 凭证审核方式 */
    @Excel(name = "凭证审核方式")
    private String voucherAuditStatus;

    /** 资产负债表辅助核算余额取值方式 */
    @Excel(name = "资产负债表辅助核算余额取值方式")
    private String balanceSheetAuxiliaryCalculation;

    /** 单价/数量/汇率小数位数 */
    @Excel(name = "单价/数量/汇率小数位数")
    private Long decimalPlaces;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }



    public String getAccountSetId() {
        return accountSetId;
    }

    public void setAccountSetId(String accountSetId) {
        this.accountSetId = accountSetId;
    }

    public void setAssetModuleStatus(String assetModuleStatus)
    {
        this.assetModuleStatus = assetModuleStatus;
    }

    public String getAssetModuleStatus() 
    {
        return assetModuleStatus;
    }
    public void setAssetModuleStartDate(Date assetModuleStartDate) 
    {
        this.assetModuleStartDate = assetModuleStartDate;
    }

    public Date getAssetModuleStartDate() 
    {
        return assetModuleStartDate;
    }
    public void setFundModuleStatus(String fundModuleStatus) 
    {
        this.fundModuleStatus = fundModuleStatus;
    }

    public String getFundModuleStatus() 
    {
        return fundModuleStatus;
    }
    public void setInventoryLinkStatus(String inventoryLinkStatus) 
    {
        this.inventoryLinkStatus = inventoryLinkStatus;
    }

    public String getInventoryLinkStatus() 
    {
        return inventoryLinkStatus;
    }
    public void setVoucherAuditStatus(String voucherAuditStatus) 
    {
        this.voucherAuditStatus = voucherAuditStatus;
    }

    public String getVoucherAuditStatus() 
    {
        return voucherAuditStatus;
    }
    public void setBalanceSheetAuxiliaryCalculation(String balanceSheetAuxiliaryCalculation) 
    {
        this.balanceSheetAuxiliaryCalculation = balanceSheetAuxiliaryCalculation;
    }

    public String getBalanceSheetAuxiliaryCalculation() 
    {
        return balanceSheetAuxiliaryCalculation;
    }
    public void setDecimalPlaces(Long decimalPlaces) 
    {
        this.decimalPlaces = decimalPlaces;
    }

    public Long getDecimalPlaces() 
    {
        return decimalPlaces;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("accountSetId", getAccountSetId())
            .append("assetModuleStatus", getAssetModuleStatus())
            .append("assetModuleStartDate", getAssetModuleStartDate())
            .append("fundModuleStatus", getFundModuleStatus())
            .append("inventoryLinkStatus", getInventoryLinkStatus())
            .append("voucherAuditStatus", getVoucherAuditStatus())
            .append("balanceSheetAuxiliaryCalculation", getBalanceSheetAuxiliaryCalculation())
            .append("decimalPlaces", getDecimalPlaces())
            .toString();
    }
}
